﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Xml.Linq;

namespace NeonMika.EightTracks.Responses
{
    public class MixesResponse : Response
    {
        List<Mix> mixes = null;

        public List<Mix> Mixes
        {
            get { return mixes; }
            set { mixes = value; }
        }

        public MixesResponse(XElement xml) : base(xml)
        {
            Mixes = new List<Mix>();
            var mixes = from mix in xml.Descendants("mix") select mix;
            foreach ( var x in mixes )
                Mixes.Add(new Mix((XElement)x));
        }
    }
}
